package com.grandtech.insurance.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 
 * 种植监管详情表
 */
public class DbZzjg implements Serializable {
    /**
     * 主键id
     */
    private String id;

    /**
     * 区划代码
     */
    private String qhdm;

    /**
     * 区划名称
     */
    private String qhmc;

    /**
     * 客户id
     */
    private String userid;

    /**
     * 客户姓名
     */
    private String name;

    /**
     * 身份证号
     */
    private String idcode;

    /**
     * 种养类型（01种植02养殖）
     */
    private String zytype;

    /**
     * 面积
     */
    private BigDecimal mj;

    /**
     * 监测时间
     */
    private Date jcsj;

    /**
     * 年份
     */
    private String nf;

    /**
     * 实际种植面积
     */
    private BigDecimal sjzzmj;

    /**
     * 备注
     */
    private String bz;

    /**
     * 未种植面积
     */
    private BigDecimal wzzmj;

    private String zwmc;
    private String zwdm;

    private BigDecimal sum;

    private String dkbm;

    private String flag;
    private String time;
    private String xmbm;

    public String getXmbm() {
        return xmbm;
    }

    public void setXmbm(String xmbm) {
        this.xmbm = xmbm;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getDkbm() {
        return dkbm;
    }

    public void setDkbm(String dkbm) {
        this.dkbm = dkbm;
    }

    public BigDecimal getSum() {
        return sum;
    }

    public void setSum(BigDecimal sum) {
        this.sum = sum;
    }

    public String getZwmc() {
        return zwmc;
    }

    public void setZwmc(String zwmc) {
        this.zwmc = zwmc;
    }

    public String getZwdm() {
        return zwdm;
    }

    public void setZwdm(String zwdm) {
        this.zwdm = zwdm;
    }

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getQhdm() {
        return qhdm;
    }

    public void setQhdm(String qhdm) {
        this.qhdm = qhdm;
    }

    public String getQhmc() {
        return qhmc;
    }

    public void setQhmc(String qhmc) {
        this.qhmc = qhmc;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdcode() {
        return idcode;
    }

    public void setIdcode(String idcode) {
        this.idcode = idcode;
    }

    public String getZytype() {
        return zytype;
    }

    public void setZytype(String zytype) {
        this.zytype = zytype;
    }

    public BigDecimal getMj() {
        return mj;
    }

    public void setMj(BigDecimal mj) {
        this.mj = mj;
    }

    public Date getJcsj() {
        return jcsj;
    }

    public void setJcsj(Date jcsj) {
        this.jcsj = jcsj;
    }

    public String getNf() {
        return nf;
    }

    public void setNf(String nf) {
        this.nf = nf;
    }

    public BigDecimal getSjzzmj() {
        return sjzzmj;
    }

    public void setSjzzmj(BigDecimal sjzzmj) {
        this.sjzzmj = sjzzmj;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    public BigDecimal getWzzmj() {
        return wzzmj;
    }

    public void setWzzmj(BigDecimal wzzmj) {
        this.wzzmj = wzzmj;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        DbZzjg other = (DbZzjg) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getQhdm() == null ? other.getQhdm() == null : this.getQhdm().equals(other.getQhdm()))
            && (this.getQhmc() == null ? other.getQhmc() == null : this.getQhmc().equals(other.getQhmc()))
            && (this.getUserid() == null ? other.getUserid() == null : this.getUserid().equals(other.getUserid()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getIdcode() == null ? other.getIdcode() == null : this.getIdcode().equals(other.getIdcode()))
            && (this.getZytype() == null ? other.getZytype() == null : this.getZytype().equals(other.getZytype()))
            && (this.getMj() == null ? other.getMj() == null : this.getMj().equals(other.getMj()))
            && (this.getJcsj() == null ? other.getJcsj() == null : this.getJcsj().equals(other.getJcsj()))
            && (this.getNf() == null ? other.getNf() == null : this.getNf().equals(other.getNf()))
            && (this.getSjzzmj() == null ? other.getSjzzmj() == null : this.getSjzzmj().equals(other.getSjzzmj()))
            && (this.getBz() == null ? other.getBz() == null : this.getBz().equals(other.getBz()))
            && (this.getWzzmj() == null ? other.getWzzmj() == null : this.getWzzmj().equals(other.getWzzmj()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getQhdm() == null) ? 0 : getQhdm().hashCode());
        result = prime * result + ((getQhmc() == null) ? 0 : getQhmc().hashCode());
        result = prime * result + ((getUserid() == null) ? 0 : getUserid().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getIdcode() == null) ? 0 : getIdcode().hashCode());
        result = prime * result + ((getZytype() == null) ? 0 : getZytype().hashCode());
        result = prime * result + ((getMj() == null) ? 0 : getMj().hashCode());
        result = prime * result + ((getJcsj() == null) ? 0 : getJcsj().hashCode());
        result = prime * result + ((getNf() == null) ? 0 : getNf().hashCode());
        result = prime * result + ((getSjzzmj() == null) ? 0 : getSjzzmj().hashCode());
        result = prime * result + ((getBz() == null) ? 0 : getBz().hashCode());
        result = prime * result + ((getWzzmj() == null) ? 0 : getWzzmj().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", qhdm=").append(qhdm);
        sb.append(", qhmc=").append(qhmc);
        sb.append(", userid=").append(userid);
        sb.append(", name=").append(name);
        sb.append(", idcode=").append(idcode);
        sb.append(", zytype=").append(zytype);
        sb.append(", mj=").append(mj);
        sb.append(", jcsj=").append(jcsj);
        sb.append(", nf=").append(nf);
        sb.append(", sjzzmj=").append(sjzzmj);
        sb.append(", bz=").append(bz);
        sb.append(", wzzmj=").append(wzzmj);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}